home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / reshap.z / reshap
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. rrrreeeesssshhhhaaaapppp((((3333GGGG))))                                                          rrrreeeesssshhhhaaaapppp((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeesssshhhhaaaapppp - sets the viewport to the dimensions of the current graphics
  10.      window
  11.  
  12. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeesssshhhhaaaapppp
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _n_o_n_e
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      rrrreeeesssshhhhaaaapppp sets the viewport to the dimensions of the current graphics
  20.      window.  Call it whenever REDRAW events are received for windows whose
  21.      size is unconstrained, and therefore could have changed.
  22.  
  23.      rrrreeeesssshhhhaaaapppp is equivalent to:
  24.  
  25.           integer*4 xsize, ysize
  26.  
  27.           call getsiz(xsize, ysize)
  28.           call viewpo(0, xsize-1, 0, ysize-1)
  29.  
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      getori, getsiz, viewpo
  33.  
  34. NNNNOOOOTTTTEEEE
  35.      This routine is available only in immediate mode.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.